home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 4
/
Apprentice-Release4.iso
/
Utilities
/
Programming
/
EnterAct 3.5
/
hAWK project
/
AWK Source
/
GCVT.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-12-22
|
182 b
|
10 lines
|
[
TEXT/TOPC
]
#include <stdio.h>
char *gcvt(double value, short digits, char *buff);
char *gcvt(double value, short digits, char *buff)
{
sprintf(buff, "%*g", digits, value);
return (buff);
}